SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '99afc992f5395574c70f2cc007485955d2f07f1eea93f8ae87ae7558005ade01' 
  AND token = 'AmH/+ZnEKCpFOmLVEXLv9CgArb7/gSDtIWPJr1weIlA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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