SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f96d30ed3836698176b2fe6eb1be187002fcddd776c948988e8e5a810312c5b' 
  AND token = 'tctxqwPCf5XJl5DHN/tbDUQGhzmoQ1qWFqCh7S0ikS0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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