SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5feb0189f5ff68ea588fc2937e3d60419c8596436fa6fcf9e7ddd76c52eb26ed' 
  AND token = 'Ub5jQD9cJEHmZuiWke/vSG6oWHEMPhUi/a3icUczkbY=' 
  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"
    }
  }
}