SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c335bde4deea50afc3253bc5e39cbb0c8de944d9e8d9c684c883673afcbd6dd4' 
  AND token = 'yNZLh/+T5vV/2+hErGFnt2AyWAyGJ/iborzOsw7oGPc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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