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

Query time 0.00028

JSON explain

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