SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51f1ce12a4f41b8d145fa6b8616535bb42926da58bafd1d02b52e6734d2e5d91' 
  AND token = 'AnI5OO34R+pdzSaSwzD1nIst/TQRileo1dO2lsdZS/g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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