SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cec5862559e9410ffb4d07f4c0c67f257ea8e223a40d98cb142f17d3d7b3fa95' 
  AND token = 'iDgSal491/p0Pyu79aO8efran78iaGRiBrbLjOlZL6o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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