SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '585388ee22e33c7ab3b029901384d52f9f966375cdcad26a19d175ec92bf6991' 
  AND token = 'T5BOG5WvVZic2uiMoQu+bmNTvmlX71t3mRv8RqHj700=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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