SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3fec14e15fd1daf82c7db8f1df9530a9853c31a37dc77b78ef23568d2359f8ef' 
  AND token = 'sO5Yta/+3/Mgrvj3pzZU/uy1PuReDM/CA2LXu8NHulQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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