SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '977d92295cf9c73b3001723933d8d16ee3a392f7199765bceadfd4604373be0c' 
  AND token = 'ycX9mY6uvXEiSocGTWjfbe1/pkQcsIERWcMixhJ001w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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