SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afb0b50a1b91fb425b02d27e8af3527f0ede4ad0f79df87cbbb9a703a73bb5fb' 
  AND token = '5v7TGHpwlPLFEcLgh6ThqBQWvwzOhQeu2XO9mRW8Ufk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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