SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '77517ef40a1d4209aacfa8320bd42f4eccaadc526b3511108d231384cb533c97' 
  AND token = 'Yxqspsv/jwYK4H00Gi74ICxC+ReJ+Of08k3ooxQ7iuA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}