SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0dcdfdeb15a850012fbeaffa1100a35f0892871b0cefb399edf6f62b2990f5e8' 
  AND token = 'Q/D2a2pBY8n5TlbdK1Yx/ZlVgxZY4tgIFXtTuzSr7rs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}