SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a77f7d0fca6920480d5b8359dbba54d701699aab25416b2e6fbcb10a29323410' 
  AND token = 'vkTm6H/fBfDOHsBRCh5Q2Q2SjLoZIS2GdS5Ojrao5BA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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