SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4afe189e3b94fd8b10892dd423d3f3577e938952983d24f0e428a6cfce08321f' 
  AND token = 'yuPu8KcT5o0idCfebHB4K82t20GmraIlog+X1/oZQR4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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