SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e788a27a30afaab663aa486e1a3b2686097b3a973bb0986a6241dba7a8537954' 
  AND token = 'Y2PEJXF2aKi017u283nub62ek3RmTNTSWqpAxIGDJik=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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