SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bed8e5da748a24387d4515c430a08f54ff80846c28aa7a8fc5bced664fe24240' 
  AND token = 'rXk1cC6KofYr0rgJGn6fW1EqL/pjR5Smk4jMhT6n9Xw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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