SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf220af97540d3029eb29b86e428184295afc33c5ca9be2d6411f6a3adb7f0ac' 
  AND token = 'Qrrto73372wevbQ1/r2Gkz1QDwekuF+ErnB5EvMGMqk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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