SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd2f96d839a67f784f616a7b0ad37cbd7c97e36dbd5f68d958476428ec6665a6' 
  AND token = '3cnLRnMCbdyqepqwcZbzbJ9/4Ww+Sj7HYB6+MSgflBQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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