SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51ec25b5c36ba58eb04725a27bd7119fe6ed121a8a688ffb5ed4b9ed060b6bb1' 
  AND token = 'oHTNc1bpnPOJBTjINUl4xZ4iEKz17GPj1rCMO1a1Vdk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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