SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1b4a766cacb692da6b09362499a5ab166ced40f8c18c5a7a92e28ad101eb3510' 
  AND token = 'DNYRve7jLOykGMrZk5ebR37oPllauwZ244zM+l7/gek=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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