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

Query time 0.00028

JSON explain

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