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

Query time 0.00027

JSON explain

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