SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '41af03377f02381182400699fc467ecefaba7f457f54180024d117a1dd03054a' 
  AND token = 'K2oS1zAOrf3ZfbMCDaAfIJel9UG8VJ8XCSyzSlnhj8M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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