SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7a34e4356154df15dc5f748f5e9462ade922181e47db49c325be5e7b6b6d4a5b' 
  AND token = 'nuLksMW1GfZm49Sgdm2ozobERr2xmMWHB8ojCJHZRkU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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