SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '71d5dbe8f77e2c6d6abee3578641a519efd8bbe314595b622593b1f481638fa1' 
  AND token = 'QGyojAL04mTNntzBzS5daQaGupyoVwt60F/TEGihUO8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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