SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd40dd9b081eb5f1435ec1c46381f56a094f78ce87c9ef1dc121039eeb21e3bd1' 
  AND token = 'WrxIXQPgH0VXu915gTE6ocSZtQBots2NchxhzqStdd8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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